import { enums, EnumItem } from "./enums"
const dbTypes: EnumItem[] = [
  { label: "短字符", value: "VARCHAR(32)", group: "字符串", type: "dbType" },
  { label: "中等字符", value: "VARCHAR(255)", group: "字符串", type: "dbType" },
  { label: "长字符", value: "TEXT", group: "字符串", type: "dbType" },
  { label: "超长字符", value: "LONGTEXT", group: "字符串", type: "dbType" },
  { label: "0-9", value: "TINYINT", group: "数字", type: "dbType" },
  { label: "整数", value: "INT", group: "数字", type: "dbType" },
  { label: "大整数", value: "BIGINT", group: "数字", type: "dbType" },
  { label: "百分比", value: "DECIMAL(5,2)", group: "数字", type: "dbType" },
  { label: "货币", value: "DECIMAL(10,2)", group: "数字", type: "dbType" },
  { label: "高精度", value: "DECIMAL(10,10)", group: "数字", type: "dbType" },
  { label: "日期时间", value: "DATETIME", group: "日期", type: "dbType" },
  { label: "时间", value: "TIME", group: "日期", type: "dbType" },
  { label: "年月日", value: "DATE", group: "日期", type: "dbType" },
  { label: "是否", value: "TINYINT(1)", group: "布尔值", type: "dbType" },
];
enums.append(dbTypes);
